/*
 * GuudEvent.h
 *
 *  Created on: 2013-1-19
 *      Author: heqiu
 */

#ifndef GUUDEVENT_H_
#define GUUDEVENT_H_

#include "SDL/SDL.h"
namespace guud {

class GuudEvent {
public:
	GuudEvent();
	virtual ~GuudEvent();
	void setDelay(uint32_t uiMSec);
	//阻塞监听
	void beginListen();

	virtual void handleEvents(SDL_Event &stEvent);
	uint32_t m_uiMSec;
	bool m_bQuit;
};
}

#endif /* GUUDEVENT_H_ */
